#! /bin/sh
# postinst script for epg
# see: dh_installdeb(1)
set -e

# Automatically added by dh_installinit
if [ -x "/etc/init.d/epg" ]; then
        update-rc.d epg defaults 99 &>/dev/null
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
            invoke-rc.d epg start
        else
            /etc/init.d/epg start
        fi
fi

exit 0
